﻿<%@ Page Language="C#" MasterPageFile="~/webadmin/pages/MasterPage.master" AutoEventWireup="true" CodeFile="VetinhSan_frm.aspx.cs" Inherits="webadmin_pages_VetinhSan_frm" title="Quản lý thông tin vệ tinh sàn" %>
<%@ Register Assembly="RadInput.Net2" Namespace="Telerik.WebControls" TagPrefix="rad" %>

<%@ Register Assembly="RadUpload.Net2" Namespace="Telerik.WebControls" TagPrefix="rad" %>

<%@ Register Assembly="RadEditor.Net2" Namespace="Telerik.WebControls" TagPrefix="rad" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder_Menu" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder_Banner" Runat="Server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder_Main" Runat="Server">
			
				
		
		<% if (!string.IsNullOrEmpty(messnotID.ToString()))
     { %>
		<div class="notification error close png_bg" style="right: 0px; top: 0px; height: 43px">
					<div>Thông báo lỗi:  <b><i><%=messnotID%></i></b>
						</div>
			</div>
			<% } %>
	    <!-- End Notifications -->
			
		
			
			<!-- End Notifications -->
            
			<p id="page-intro">Chọn tác vụ bạn muốn thực hiện</p>
			
			<ul class="shortcut-buttons-set">				
                <li><a class="shortcut-button" href="sanvieclam_list.aspx"><span>
					<img src="../resources/images/icons/Cash_machine.png" alt="icon" width="48" height="48" /><br />
					Xem danh sách vệ tinh&nbsp;</span></a></li></ul>
	    <!-- End .shortcut-buttons-set -->
			
			<div class="clear"></div> <!-- End .clear -->
<%if (!string.IsNullOrEmpty(messnotID))
  {%>
 <div class="content-box closed-box"><!-- Start Content Box -->
 <%}
   else
   { %>
   <div class="content-box"><!-- Start Content Box -->
 <%} %>
 </div>
				
				<div class="content-box-header">
					
					<h3>Thêm mới bài viết  </h3>
					
					
					
				  <div class="clear"></div>
					
				</div> <!-- End .content-box-header -->
                <div class="content-box-content">
                <% if(!string.IsNullOrEmpty(mess)){ %>
		<div class="notification error png_bg">
				<a href="#" class="close"><img src="../resources/images/icons/cross_grey_small.png" title="Close this notification" alt="close" /></a>
				<div>
				Thông báo lỗi:  <b><i><%=mess%></i></b></div>
			</div>
			<% } %>
                <%
                    if (!string.IsNullOrEmpty(Request.QueryString["act"])) act = Request.QueryString["act"].Trim();
                    if (!(act=="add")){ %>
                            <p>
                                <label>Mã tin:&nbsp;
                                <asp:TextBox ID="txtMa" runat="server" ReadOnly="True" Enabled="False"></asp:TextBox><span></span></label></p>
                           
                    <%} %>
                    

                <div runat="server" id="frm_sanvieclam">
                 <p>
                        <label > Chọn vệ tinh </label>
                        <asp:DropDownList CssClass="text-input medium-input" ID="drop_san_vetinh" runat="server" ></asp:DropDownList>
                        </p>
                    <p> 
                    <label > Tên sàn </label>
                     <asp:TextBox ID="txtTieuDe" runat="server" CssClass="text-input large-input" Width="641px"></asp:TextBox>
           <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtTieuDe"
               ErrorMessage="(*) Phải nhập tên sàn diễn ra"></asp:RequiredFieldValidator>
                    </p>
                    <p>
                        <label > Ngày diễn ra sàn</label>                        
                    </p>
                    <p>
                        <rad:RadDateInput id="txt_ngaydienra_RadDateInput" Runat="server" DateFormat="dd/MM/yyyy"
                            DisplayDateFormat="dd/MM/yyyy">
                        </rad:RadDateInput>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="txt_ngaydienra_RadDateInput"
                            ErrorMessage="(*)  Phải nhập ngày diễn ra sàn "></asp:RequiredFieldValidator></p>
                    <p>
                        <label > Giới thiệu về sàn</label>                        
                    </p>
                    <p>
                        <asp:TextBox ID="txt_san_gioithieu" runat="server" Rows="5" TextMode="MultiLine" Width="506px"></asp:TextBox>
                    </p>
                    <p><label > Mô tả về sàn:</label></p>
                    <p>
                        <asp:TextBox ID="txt_san_mota" runat="server" Rows="5" TextMode="MultiLine" Width="506px"></asp:TextBox>
                    </p>
                    
                    <p>
                       <asp:CheckBox ID="chkKichHoat" runat="server" Text="Kích hoạt sàn" />
                    </p>
                    <p>
                     <asp:Button ID="Button1" CssClass="button" runat="server" OnClick="Button1_Click" Text="Lưu Thông Tin" />
                    <input class="button" type="reset" value="Reset" />
                    </p>
                    </div>
                 
                 
                  <div runat="server" id="frm_trungtamvetinh">
                        <p>
                            <label > Tên vệ tinh</label>                        
                        </p>
                        <p>
                            <asp:TextBox ID="txt_vt_ten" runat="server" Width="506px"></asp:TextBox>
                        </p>
                        <p>
                            <label > Địa chỉ chi tiết</label>                        
                        </p>
                        <p>
                            <asp:TextBox ID="txt_vt_diachi" runat="server" Width="506px"></asp:TextBox>
                        </p>
                        <p>
                            <label > Mô tả sơ </label>                        
                        </p>
                        <p>
                            <asp:TextBox ID="txt_vt_mota" runat="server" Rows="5" TextMode="MultiLine" Width="506px"></asp:TextBox>
                        </p>
                        <p>
                            <label > Giới thiệu </label>                        
                        </p>
                        <p>
                            <asp:TextBox ID="txt_vt_gioithieu" Rows="5" TextMode="MultiLine" runat="server" Width="506px"></asp:TextBox>
                        </p>
                        <p>
                            <label > Email</label>                        
                        </p>
                        <p>
                            <asp:TextBox ID="txt_vt_email" runat="server" Width="506px"></asp:TextBox>
                        </p>
                        <p>
                            <label > Điện thoại</label>                        
                        </p>
                        <p>
                            <asp:TextBox ID="txt_vt_dienthoai" runat="server" Width="506px"></asp:TextBox>
                        </p>
                  
                    <p>
                     <asp:Button ID="btn_vetinh" CssClass="button" runat="server" OnClick="btn_vetinh_Click" Text="Lưu Thông Tin" />
                    <input class="button" type="reset" value="Reset" />
                    </p>
                  </div>
                </div>
   </div>
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="ContentPlaceHolder_Footer" Runat="Server">
</asp:Content>

